package com.example.flower_shop.service.adm;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.flower_shop.common.PageResult;
import com.example.flower_shop.entity.Article;
import com.example.flower_shop.vo.article.*;
import jakarta.validation.Valid;

public interface AdmArticleService extends IService<Article> {
    PageResult<ArticlePageResp> findAllArticle(@Valid ArticlePageReq req);

    void updateArticle(AdmArticleUpdateReq req);

    void batchDelete(Long[] ids);
    void updateArticleInfo(ArticleReq req);

    void createArticle(ArticleReq req);

    ArticleRespVO getArticle(Long articleId);
}
